﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Print
{
    public partial class SaveForm : Form
    {
        public SaveForm()
        {
            InitializeComponent();
        }

        public string ReportName
        {
            get
            {
                return this.textBoxX1.Text;
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.textBoxX1.Text.Trim()))
            {
                MessageBox.Show("保存模板名不能为空！", "系统提示！", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }          
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
